package pubg;
import java.sql.SQLOutput;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Scanner;

public class Mag {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        System.out.println("请输入省份");
        while (true){
            HashMap<String, ArrayList<String>> hashMap = new HashMap<>();
            ArrayList arrayList = new ArrayList<>();
            arrayList.add("丽江，曲靖，昆明，文山，西双版纳，保山");

            ArrayList arrayList1 = new ArrayList<>();
            arrayList1.add("乌鲁木齐，吐鲁番，哈密，克拉玛依");

            ArrayList arrayList2 = new ArrayList<>();
            arrayList2.add("拉萨，林芝，那曲，昌都");

            ArrayList arrayList3 = new ArrayList<>();
            arrayList3.add("成都，绵阳，资阳，眉山");

            hashMap.put("云南", arrayList);
            hashMap.put("新疆", arrayList1);
            hashMap.put("西藏", arrayList2);
            hashMap.put("四川", arrayList3);

            String next = sc.next();
            ArrayList<String> strings = hashMap.get(next);
            System.out.println(strings);
        }
    }
}
